/**
 * Created by Administrator on 2015/8/21.
 */
var async = require('async');
//首页有关的模型
var ServiceM = require('../models/service');

var config = require('../config.js'); //必要
var fs = require('fs');
var MyronWX=require('../lib/MyronWx.js');

module.exports = {
    getTuijianProduct:function(req,res,next){
        var gjz = req.query.cid_type ;

        ServiceM.findTuiJianProduct(gjz).then(function(data){
            res.json(data);
        }).catch(function(err){
            res.json([]);
        })
    }
};
